{config_load file="lang/$language/lang_$language.conf" section="index"}
<div data-role="page" data-theme="c" class="type-main">
	<div data-role="header" data-position="inline" data-theme="b">
		{if !$startpage}	
			<a class="ui-btn-left" data-rel="back" href="#" data-role="button" data-icon="arrow-l" data-iconpos="notext">zurück</a>
		{/if}
		<h1 class="page_title">Startseite</h1>
		{if !$startpage}
			<a class="ui-btn-right" href="index.php" data-role="button" data-icon="home" data-iconpos="notext">Home</a>
		{/if}
	</div>
	<div data-role="content" role="main">
		<div class="content-primary">
			{$main_content}
		</div>
		<div class="content-secondary">
			{$categories}
			{$bestseller}
			{$whats_new}
		</div>
	</div>
	<div data-role="footer" class="footer" data-theme="c">
		<p>{$copyright}</p><br style="clear:both" />
	</div>
	<div data-role="footer" data-theme="b" data-position="fixed">		
		<div data-role="navbar">
			<ul>
				{if !$cart_full}
					<li><a data-icon="home" href="index.php">Home</a></li>
				{/if}
				<li><a data-icon="info" href="{$impress}">Impressum</a></li>
				{if $account && !$link}
					<li><a data-icon="star" href="{$account}">Konto</a></li>
				{/if}
				{if $link}
					<li><a data-icon="star" href="{$link}">{$button_text}</a></li>
				{/if}
				{if $cart_full}
					<li><a data-icon="grid" href="{$cart}">Warenkorb{$cart_count}</a></li>
				{/if}
				<li><a data-icon="back" href="#" data-rel="back">zurück</a></li>
			</ul>
		</div>
	</div>
</div>
{$shipping_box}
{$message_box}
{if isset($smarty.get.products_id)}
{products_gallery products_id=$smarty.get.products_id}
{/if}
